Skip to content

[PB-6385] Keep userID from joinCall in sessionStorage#236

Merged
TamaraFinogina merged 21 commits into
release_1_4from
kickout_works
Jun 2, 2026
Merged

[PB-6385] Keep userID from joinCall in sessionStorage#236
TamaraFinogina merged 21 commits into
release_1_4from
kickout_works

Conversation

@TamaraFinogina
Copy link
Copy Markdown

@TamaraFinogina TamaraFinogina commented May 19, 2026

Description

This PR is the first half of the kick-out fix. It stores the ID returned by joinCall and uses it for leaving the call.

Also:

Related Pull Requests

Meet-server changes (second half)

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

How Has This Been Tested?

QA in local

Additional Notes

Untill meet-server changes are merged, the kick out will only work every other time (1st, 3rd, 5th, etc). This is because each kick out cleans both users from the database (original and copy) - original because of the Jitsi Hook and copy because of leaveCall original user sent (with the same UserID that copy has)

@TamaraFinogina TamaraFinogina self-assigned this May 19, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 19, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
meet-web 9371902 Commit Preview URL

Branch Preview URL
Jun 02 2026, 09:18 AM

Base automatically changed from bring_updates to main May 20, 2026 09:05
@TamaraFinogina TamaraFinogina requested a review from CandelR May 20, 2026 11:01
@TamaraFinogina TamaraFinogina marked this pull request as ready for review May 20, 2026 12:19
@TamaraFinogina TamaraFinogina requested a review from xabg2 May 20, 2026 15:01
@TamaraFinogina TamaraFinogina mentioned this pull request May 22, 2026
7 tasks
payload = { userId: SessionStorageManager.instance.getAnonymousUUID() || '' };
const userId = SessionStorageManager.instance.getUserID();
if (userId) {
return await MeetingService.instance.leaveCall(roomId, { userId });
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this causes an error, does the web crash?

Copy link
Copy Markdown
Author

@TamaraFinogina TamaraFinogina May 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, but the server gets to do checks and log errors. If the user reloads before joining the call, leaveCall is dispatched, but it has no user ID, so technically no need for the call

@TamaraFinogina TamaraFinogina changed the base branch from main to release_1_4 June 2, 2026 09:14
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 2, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

Deploying meet-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9371902
Status:  ✅  Deploy successful!
Preview URL: https://ff90f975.meet-web.pages.dev
Updated (Europe/Madrid): 2/6/2026, 11:17:56

View logs

@TamaraFinogina TamaraFinogina merged commit 5fc718f into release_1_4 Jun 2, 2026
8 checks passed
@TamaraFinogina TamaraFinogina deleted the kickout_works branch June 2, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants